#pragma once
#include "DDevice.h"

class DTexture 
{
public:
	DTexture();
	~DTexture();

protected:
	LPDIRECT3DTEXTURE9	m_pTexture;
	TCHAR	m_fileName[MAX_PATH];
	TCHAR	m_filePath[MAX_PATH];

public:
	LPDIRECT3DTEXTURE9 GetDXTexture() { return m_pTexture; }
	TCHAR* GetFileName() { return m_fileName; }
	TCHAR* GetFilePath() { return m_filePath; }

	void Load( TCHAR* filePath );
	void Release();


};
